﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace v1_SweetGeeks.Model
{
    public class Task
    {
        public int id;
        public Product product;
        public string status;
        public string name;
        public string describtion;
        public string value;
        public DateTime created;
        public DateTime created2;
        public DateTime created3;
        public DateTime created4;
        public int clicks;

        public Task(Task task)
        {
            this.id = task.id;
            this.product = new Product(task.product);
            this.status = task.status;
            this.name = task.name;
            this.describtion = task.describtion;
            this.value = task.value;
            this.created = task.created;
            this.created2 = task.created2;
            this.created3 = task.created3;
            this.created4 = task.created4;
            this.clicks = task.clicks;
        }

        public Task(int id, Product produkt, string status, string name, string describtion, string value, DateTime created, DateTime created2, DateTime created3, DateTime created4, int clicks)
        {
            this.id = id;
            this.product = new Product(produkt);
            this.status = status;
            this.name = name;
            this.describtion = describtion;
            this.value = value;
            this.created = created;
            this.created2 = created2;
            this.created3 = created3;
            this.created4 = created4;
            this.clicks = clicks;
        }
    }
}
